public marks

PUBLIC MARKS from "Xavier Lacot" with tags php & drupal

2012

Drupanium | Drupal + Services + Titanium Studio

A Drupal distribution targeted at improving the developement of Titanium mobile applications

2008

Drupal Migraine

Drupal smells like hell. For instance, it is notnatively possible to develop freely on a test site while still allowing content updates to continue on a production site. This small script allows you to maintain separate test and production versions of your Drupal site. After you've made configuration changes on the test site, this script can migrate them to the production site for you. However, I'll pray while testing it :-)

2007

Database replication lag | Dries Buytaert

Consider the following pseudo-code: $nid = node_save($data); $node = node_load($nid); Because node_save() executes a mutator query (an INSERT or UPDATE statement) is has to be executed on the master, so the master can propagate the changes to the slaves. Because node_load() uses a read-only query, it can go to the master or any of the available slaves. Because of the lack of synchronization between master and slaves, there is one obvious caveat: when we execute node_load() the slaves might not have been updated.